#ifndef BILINGOUTTESTNODE_H
#define BILINGOUTTESTNODE_H

#include "BilingBlingOut.h"
class BilingOutTestNode : public BilingBlingOut
{
public:
	CREATE_FUNC(BilingOutTestNode)
public:
	bool				init()
	{
		if (!BilingBlingOut::init("back.png", "pp.plist", true))
			return false;
		_method = BilingBlingOut::T2B;
		BilingBlingOut::_endCallSender = this;
		BilingBlingOut::_endCallFunc = callfunc_selector(BilingOutTestNode::endCB);
		start();
	}

private:
	void				endCB(CCObject* obj)
	{
		reset();
		if (_method < BilingBlingOut::LB2TR) {
			++_method;
			start();
		}
	}
};

#endif // BILINGOUTTESTNODE_H

